package com.hr.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.Date;

/**
 * 评价评估
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Evaluate
{
    @Id
    private int id;
    private User commenter=null;
    private String role;
    private String content;
    private Double grade;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date date;
}
